
package ploy.compiler;

import java.io.*;
import java.util.*;
import java.text.*;

/**
 * A PloyClassLoader is a loader especially for the Repl.  Required by ASM
 * because defineClass is otherwise protected.
 */
public class PloyClassLoader extends ClassLoader {
    
    public PloyClassLoader( ) {
	super(ClassLoader.getSystemClassLoader( ));
    }

    public Class<?> defineClass( String name, byte[] b ) {
	return defineClass( name, b, 0, b.length );
    }

}